package com.woniu.service.impl;

import com.woniu.adapter.OrderAdapter;
import com.woniu.outlet.po.OrderProduction;
import com.woniu.service.OrderProductionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderProductionServiceImpl implements OrderProductionService {

    @Autowired
    private OrderAdapter orderAdapter;

    @Override
    public List<OrderProduction> findOrderProductionByOrderNo(String orderNo) throws Exception {
        List<OrderProduction> orderProductions = orderAdapter.findOrderProductionByOrderNo(orderNo);
        return orderProductions;
    }
}
